<?php
	Configure::write('License.modules.paid_listings', 'Paid Listing Addon');
	//$emailConfig['MailConfiguration']['subject_user_order_placed'] = "Your order confirmation for: [[listing.title]]";
	//$emailConfig['MailConfiguration']['subject_admin_order_placed'] = "New paid listing order #[[order.id]]";
	//$emailConfig['Buttonset']['user_order_placed']= array('listing.id','listing.title','user.username','order.id','order.created','order.total_amount','plan.title','listing.viewUrl');
	//$emailConfig['Buttonset']['admin_order_placed']= array('listing.id','listing.title','user.username','order.id','order.created','order.total_amount','plan.title','listing.viewUrl');
	$emailConfig['MailConfiguration']['subject_user_order_processed'] = "Payment received: [[listing.title]] order #[[order.id]]";
	$emailConfig['MailConfiguration']['subject_admin_order_processed'] = "Payment received: [[listing.title]] order #[[order.id]]";
    $emailConfig['MailConfiguration']['subject_plan_expiration'] = "Your plan on [[listing.title]] has been expired";
    $emailConfig['MailConfiguration']['subject_before_plan_expiration'] = "Your plan will soon expire";
	$emailConfig['Buttonset']['user_order_processed']= array('listing.id','listing.title','user.username','order.id','order.created','order.total_amount','plan.title','listing.viewUrl','transaction.id','expiration_date');
	$emailConfig['Buttonset']['admin_order_processed']= array('listing.id','listing.title','user.username','order.id','order.created','order.total_amount','plan.title','listing.viewUrl','transaction.id','expiration_date');
    $emailConfig['Buttonset']['plan_expiration']= array('listing.id','listing.title','user.username','order.id','order.created','order.total_amount','plan.title','listing.viewUrl',);
    $emailConfig['Buttonset']['before_plan_expiration']= array('listing.id','listing.title','user.username','order.id','order.created','order.total_amount','plan.title','listing.viewUrl','expiration_date');
?>